package com.letfox.ad.enums;

/**
 * 广告设置数据格式
 */
public class DataEnums {
	
	public static final String AD_SET_AGE = "AD_SET_AGE";
	
	public static final String AD_SET_GENDER = "AD_SET_GENDER";
	
	public static final String AD_SET_INCOME_LEVE = "AD_SET_INCOME_LEVE";

	public static final String AD_SET_EDUCATION = "AD_SET_EDUCATION";
	
	public static final String AD_SET_INTRERST = "AD_SET_INTRERST";
	
	public static final String AD_SET_OP_SYSTEM = "AD_SET_OP_SYSTEM";
	
	/**
	 * 年龄枚举
	 */
	public enum AgeGroup{
		AGE0("不限","0"),
		AGE1("18岁以下","1"),
		AGE2("18-24","2"),
		AGE3("25-29","3"),
		AGE4("35-39","4"),
		AGE5("40-44","5"),
		AGE6("45 -49","6"),
		AGE7("50以上","7");
		
		private String name;
		private String value;

		private AgeGroup(String name, String value) {
			this.name = name;
			this.value = value;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public String getValue() {
			return value;
		}

		public void setValue(String value) {
			this.value = value;
		}
	}
	
	/**
	 * 性别枚举
	 */
	public enum Gender{
		GENDERS("不限","0"),
		MAN("男","1"),
		GIRL("女","2");
		
		private String name;
		private String value;

		private Gender(String name, String value) {
			this.name = name;
			this.value = value;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public String getValue() {
			return value;
		}

		public void setValue(String value) {
			this.value = value;
		}
	}
	
	/**
	 * 薪资范围枚举
	 */
	public enum WageRange{
		WAGES0("不限","0"),
		WAGES1("5K以下","1"),
		WAGES2("5K-10K","2"),
		WAGES3("10K-20K","3"),
		WAGES4("20K以上","4");
		
		private String name;
		private String value;

		private WageRange(String name, String value) {
			this.name = name;
			this.value = value;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public String getValue() {
			return value;
		}

		public void setValue(String value) {
			this.value = value;
		}
	}
	
	/**
	 * 学历枚举
	 */
	public enum Education{
		EALL("不限","0"),
		PRSCHOOL("小学","1") ,
		JUSCHOOL("初中","2"),
		SHISCHOOL("高中","3"),
		UNDERGRADUATE("本科","4"),
		MASTER("硕士","5"),
		DOCTOR("博士","6");
		
		private String name;
		private String value;

		private Education(String name, String value) {
			this.name = name;
			this.value = value;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public String getValue() {
			return value;
		}

		public void setValue(String value) {
			this.value = value;
		}
	}
	
	/**
	 * 兴趣枚举
	 */
	public enum Interest{
		INALL("不限","0"),
		FINANE("金融","1"),
		EDUCATION("教育","2"),
		SOCIAlCONTACT("社交","3"),
		HOUSEPROPERTY("房产","4"),
		CAR("汽车","5"),
		RESTAURANT("餐饮","6"),
		BISEXUAL("两性","7");
		
		private String name;
		private String value;

		private Interest(String name, String value) {
			this.name = name;
			this.value = value;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public String getValue() {
			return value;
		}

		public void setValue(String value) {
			this.value = value;
		}
	}
	
	public enum System{
		SYSTEMALL("无限制","0"),
		ANDROID("安卓","1"),
		IOS("IOS","2");
		
		private String name;
		private String value;

		private System(String name, String value) {
			this.name = name;
			this.value = value;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public String getValue() {
			return value;
		}

		public void setValue(String value) {
			this.value = value;
		}
	}
}
